/**
  * app.d: The DayuDict Application module
  * Author:	Wei Li (oldrev@gmail.com)
  * 
  * License: GPL
  */

import std.stdio;

import dayudict.dictman;
import dayudict.queryengine;


class DayuDictApp
{
	private DictionaryManager	m_dictman = null;
	private QueryEngine			m_engine = null;



	public this()
	{

	}

	private int startup(char[][] args)
	{
		return 0;
	}
	
}


int main()
{
	auto dictman = new DictionaryManager("dicts");
	auto engine = new QueryEngine(dictman);
	writefln(engine.query("word"));

	return 0;
}
